package com.dropgame.tools;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.InputProcessor;



public class InvertedInput implements Input{
	
	int invert = Gdx.graphics.getHeight();

	@Override
	public void cancelVibrate() {
		Gdx.input.cancelVibrate();
		
	}

	@Override
	public float getAccelerometerX() {
		return Gdx.input.getAccelerometerX();
	}

	@Override
	public float getAccelerometerY() {
		return Gdx.input.getAccelerometerY();
	}

	@Override
	public float getAccelerometerZ() {
		return Gdx.input.getAccelerometerZ();
	}

	@Override
	public float getAzimuth() {
		return Gdx.input.getAzimuth();
	}

	@Override
	public long getCurrentEventTime() {
		return Gdx.input.getCurrentEventTime();	
				
	}

	@Override
	public int getDeltaX() {
		return Gdx.input.getDeltaX();
	}

	@Override
	public int getDeltaX(int arg0) {
		return Gdx.input.getDeltaX(arg0);
	}

	@Override
	public int getDeltaY() {
		return Gdx.input.getDeltaY();
	}

	@Override
	public int getDeltaY(int arg0) {
		return Gdx.input.getDeltaY(arg0);
	}

	@Override
	public InputProcessor getInputProcessor() {
		return Gdx.input.getInputProcessor();
	}

	@Override
	public Orientation getNativeOrientation() {
		return Gdx.input.getNativeOrientation();
	}

	@Override
	public float getPitch() {
		return Gdx.input.getPitch();
	}

	@Override
	public float getRoll() {
		return Gdx.input.getRoll();
	}

	@Override
	public int getRotation() {
		return Gdx.input.getRotation();
	}

	@Override
	public void getTextInput(TextInputListener arg0, String arg1, String arg2) {
		Gdx.input.getTextInput(arg0, arg1, arg2);
	}

	@Override
	public int getX() {
		return Gdx.input.getX();
	}

	@Override
	public int getX(int arg0) {
		return Gdx.input.getX(arg0);
	}

	@Override
	public int getY() {
		return invert - Gdx.input.getY();
	}

	@Override
	public int getY(int arg0) {
		return invert - Gdx.input.getY(arg0);
	}

	@Override
	public boolean isButtonPressed(int arg0) {
		return Gdx.input.isButtonPressed(arg0);
	}

	@Override
	public boolean isCursorCatched() {
		return Gdx.input.isCursorCatched();
	}

	@Override
	public boolean isKeyPressed(int arg0) {
		return Gdx.input.isKeyPressed(arg0);
	}

	@Override
	public boolean isPeripheralAvailable(Peripheral arg0) {
		return Gdx.input.isPeripheralAvailable(arg0);
	}

	@Override
	public boolean isTouched() {
		return Gdx.input.isTouched();
	}

	@Override
	public boolean isTouched(int arg0) {
		return Gdx.input.isTouched(arg0);
	}

	@Override
	public boolean justTouched() {
		return Gdx.input.justTouched();
	}

	@Override
	public void setCatchBackKey(boolean arg0) {
		Gdx.input.setCatchBackKey(arg0);
	}

	@Override
	public void setCatchMenuKey(boolean arg0) {
		Gdx.input.setCatchMenuKey(arg0);
	}

	@Override
	public void setCursorCatched(boolean arg0) {
		Gdx.input.setCursorCatched(arg0);
	}

	@Override
	public void setCursorPosition(int arg0, int arg1) {
		Gdx.input.setCursorPosition(arg0, arg1);
	}

	@Override
	public void setInputProcessor(InputProcessor arg0) {
		Gdx.input.setInputProcessor(arg0);
	}

	@Override
	public void setOnscreenKeyboardVisible(boolean arg0) {
		Gdx.input.setOnscreenKeyboardVisible(arg0);
	}

	@Override
	public void vibrate(int arg0) {
		Gdx.input.vibrate(arg0);
	}

	@Override
	public void vibrate(long[] arg0, int arg1) {
		Gdx.input.vibrate(arg0, arg1);
	}

	@Override
	public void getPlaceholderTextInput(TextInputListener arg0, String arg1,
			String arg2) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void getRotationMatrix(float[] arg0) {
		// TODO Auto-generated method stub
		
	}

}
